package com.imcrl.event
{
	import com.imcrl.component.page.ITabItem;
	
	import flash.events.Event;
	
	/**
	 *  tab项选择事件;
	 * @author crl
	 * 
	 */	
	public class TabEvent extends Event
	{
		public static const CHANGE:String="change";
		public var tab:ITabItem;
		
		/**
		 * 当没有旧项时,为空; 
		 */		
		public var oldTab:ITabItem;
		public function TabEvent(type:String,tab:ITabItem,oldTab:ITabItem=null)
		{
			super(type,false, false);
			this.tab=tab;
			this.oldTab=oldTab;
		}
		
	}
}